package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

//视频点赞表
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "video_like")
public class VideoLike {

    private ObjectId id; //主键id
    private Long userId; //用户id
    private Long videoId; //点赞的视频id
    private Long created; //点赞时间
}
